
import jsCookie from 'js-cookie';

const { get, set, remove }  = jsCookie
export function getToken(key) {
  return get(key)
}
export function setToken(key, token) {
  set(key, token, { expires: 1 })
}
export function removeToken(key) {
  return remove(key);
}
